#pragma once
#ifndef _GAME_DATA_H_
#define _GAME_DATA_H_

#include <string>
#include <map>
#include <fstream>
#include <string.h>
#include <stdio.h>
#include <d3d9.h>

#include "AbstractEntity.h"
#include "EntityAdapter.h"
#include "GameObjectData.h"
#include "Node.h"

using namespace std;

#define _OBS_COUNT_INDEX 0;
#define _OBS_PLAYER_X_INDEX 1;
#define _OBS_PLAYER_Y_INDEX 2;
#define _OBS_INDEX 3;

class CGameData
{
public:
	int ObjectCount;
	double MapHeight;
	double MapWidth;
	map<int,GameObjectData*>* MapGameObjects; //List object in map
	map<int, CNode*>* nodes;

	CGameData();
	~CGameData()
	{}

	void getMapDataFromFile(LPWSTR FilePath);

	vector<double> stringOption(string str);
private:

};

#endif